package com.allwees.bs.c.module.order.repository;

import com.allwees.bs.c.module.base.repository.BaseRepository;
import com.allwees.bs.c.module.order.entity.OrderFlowEntity;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface OrderFlowRepository extends BaseRepository<OrderFlowEntity, String> {

    @Query("FROM OrderFlowEntity o WHERE o.orderUuid = :orderUuid")
    List<OrderFlowEntity> getByOrderUuid(String orderUuid);
}
